package com.dhcc.sdc.base.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;

import java.util.List;


/**
 * 病种相关禁忌症
 *
 * @ClassName: ContraindicationEntity
 * @Description: TODO
 * @author zhangjin
 * @date 2022-8-31 09:49:29
 */
@TableName("t_sdc_base_contraindication")
public class ContraindicationEntity extends BaseEntity<ContraindicationEntity> {
	private static final long serialVersionUID = 1L;

	//病种
//	private Long entityId;
	//代码
	private String code;
	//禁忌症名称
	private String name;
	//禁忌症介绍
	private String info;

	//是否有效
	private Integer active;
	//文献
	private String source;

	@TableField(exist = false)
	private String entityName;
	//病种id列表
	@TableField(exist = false)
	private List<Long> entityIdList;
	@TableField(exist = false)
	private String entityIds;
	@TableField(exist = false)
	private Long cdssId;
	@TableField(exist = false)
	private String cdssName;
	@TableField(exist = false)
	private Long assId;
	@TableField(exist = false)
	private Integer checked;

	public Integer getChecked() {
		return checked;
	}

	public void setChecked(Integer checked) {
		this.checked = checked;
	}

	public String getEntityIds() {
		return entityIds;
	}

	public void setEntityIds(String entityIds) {
		this.entityIds = entityIds;
	}



	public String getEntityName() {
		return entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public List<Long> getEntityIdList() {
		return entityIdList;
	}

	public void setEntityIdList(List<Long> entityIdList) {
		this.entityIdList = entityIdList;
	}

	/**
	 * 设置：病种
	 */
//	public void setEntityId(Long entityId) {
//		this.entityId = entityId;
//	}
	/**
	 * 获取：病种
	 */
//	public Long getEntityId() {
//		return entityId;
//	}
	/**
	 * 设置：代码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：代码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：禁忌症名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：禁忌症名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：禁忌症介绍
	 */
	public void setInfo(String info) {
		this.info = info;
	}
	/**
	 * 获取：禁忌症介绍
	 */
	public String getInfo() {
		return info;
	}

	/**
	 * 设置：是否有效
	 */
	public void setActive(Integer active) {
		this.active = active;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getActive() {
		return active;
	}

	public Long getCdssId() {
		return cdssId;
	}

	public void setCdssId(Long cdssId) {
		this.cdssId = cdssId;
	}

	public String getCdssName() {
		return cdssName;
	}

	public void setCdssName(String cdssName) {
		this.cdssName = cdssName;
	}

	public Long getAssId() {
		return assId;
	}

	public void setAssId(Long assId) {
		this.assId = assId;
	}

	@Override
	public String toString() {
		return "ContraindicationEntity{" +
				"code='" + code + '\'' +
				", name='" + name + '\'' +
				", info='" + info + '\'' +
				", active=" + active +
				", entityName='" + entityName + '\'' +
				", entityIdList=" + entityIdList +
				", entityIds='" + entityIds + '\'' +
				", cdssId=" + cdssId +
				", cdssName='" + cdssName + '\'' +
				", assId=" + assId +
				'}';
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getSource() {
		return source;
	}
}
